{% extends 'login.html' %}
{% block content %}
    <form method="post" novalidate>
        {% csrf_token %}
        <div class="form-group mb-3 row">
            <label class="form-label col-3 col-form-label">{{ form.label }}</label>
            <div class="col">
                {{ form }}
                <small class="form-hint">至少六个字符</small>
                <br>
                <span style="color: red">{{ form.errors.0 }}</span>
            </div>
        </div>
        <div class="form-footer">
            <button type="submit" class="btn btn-primary">注 册</button>
        </div>
    </form>
{% endblock %}